<script>
	export default {
		onLaunch: function() {
			console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！')
			console.log('App Launch')
			// uni.setStorageSync('token','c2a1013b-4335-4eb9-bd88-f2763ee008e7')
			// uni.setStorageSync('userId', 1)
			// let loginTime = new Date().getTime()
			// uni.setStorageSync('loginTime', loginTime)
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	// 设置整个项目的背景色
	page {
		background-color: #f5f5f5;
	}

	/* #endif */
	.nolist{
		padding: 60rpx;
	}
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
	.u-flex {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	/* 换行 */
	.u-flex-wrap {
		flex-wrap: wrap;
	}
	
	/* 不换行 */
	.u-flex-nowrap {
		flex-wrap: nowrap;
	}
	
	/* 垂直居中 */
	.u-col-center {
		align-items: center;
	}
	
	/* 顶部对齐 */
	.u-col-top {
		align-items: flex-start;
	}
	
	/* 底部对齐 */
	.u-col-bottom {
		align-items: flex-end;
	}
	
	/* 左边对齐 */
	.u-row-left {
		justify-content: flex-start;
	}
	
	/* 水平居中 */
	.u-row-center {
		justify-content: center;
	}
	
	.u-row-evenly {
		justify-content: space-evenly;
	}
	
	/* 右边对齐 */
	.u-row-right {
		justify-content: flex-end;
	}
	
	/* 水平两端对齐，项目之间的间隔都相等 */
	.u-row-between {
		justify-content: space-between;
	}
	
	/* 水平每个项目两侧的间隔相等，所以项目之间的间隔比项目与父元素两边的间隔大一倍 */
	.u-row-around {
		justify-content: space-around;
	}
	
	.u-line-1 {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	
	.u-line-2 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}
	.u-line-3 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
	.mt10{
		margin-top: 10rpx;
	}
	.mt20{
		margin-top: 20rpx;
	}
	

</style>
